package com.cpi.cornpp.purchaseorder.dto;

import java.io.Serializable;

public class PurchaseOrderVersionDTO implements Serializable {
	private static final long serialVersionUID = -4993469348535014588L;
	public static final String PURCHASE_ORDER_VERSION_ID = "purchase_order_version_id";
	public static final String PURCHASE_ORDER_ID = "purchase_order_id";
	public static final String PURCHASE_ORDER_VERSION_TRANSPORT_ID = "transport_id";
	public static final String PURCHASE_ORDER_VERSION_BI_WEEK_PERIOD_VERSION_ID = "biweek_period_version_id";
	public static final String PURCHASE_ORDER_VERSION_BI_WEEK_PERIOD_VERSION = "convert( varchar, year ) +(case when month < 10 then '0' else '' end)+convert( varchar, month )+'0'+convert( varchar, biweek ) ";
	public static final String PURCHASE_ORDER_VERSION_PLANT_ID = "plant_id";
	public static final String PURCHASE_ORDER_VERSION_PLANT = "plants.description";
	public static final String PURCHASE_ORDER_VERSION_CODE = "code";
	public static final String PURCHASE_ORDER_VERSION_NUMBER = "code_number";
	public static final String PURCHASE_ORDER_VERSION_CAPACITY = "capacity";
	public static final String PURCHASE_CORNTYPE_ID = "corn_type_id";
	public static final String PURCHASE_APPLY_BALANCE_ID = "apply_balance";
	public static final String TRANSPORT_ID = "purchases_orders_versions.transport_id";
	public static final String IS_TRANSIT = "is_transit";
	public static final String PERIOD_DESCRIPTION = "period_description";
	public static final String PURCHASE_ORDER_VERSION_PRIORITY = "transports.priority";
	
	private Integer purchaseOrderVersionId;
	private Integer purchaseOrderId;
	private Integer transportId;
	private Integer biWeekPeriodVersionId;
	private Integer plantId;
	private String code;
	private Integer codeNumber;
	private Integer postFix;
	private Double capacity;
	private Integer cornTypeId;
	private Integer applyBalance;
	private String periodDescription;
	private double amount;
	private String biWeekPeriodVersionDescription;
	private Integer biWeekPeriodVersionYear;
	private String plantShortName;
	private String blockStartDate;
	private String blockFinishDate;
	private Double blockQuantity;
	private String regionShortName;
	private int isTransit;
	private int futureSort;
	
	public Integer getApplyBalance() {
		return applyBalance;
	}
	public void setApplyBalance(Integer applyBalance) {
		this.applyBalance = applyBalance;
	}
	public Integer getPurchaseOrderVersionId() {
		return purchaseOrderVersionId;
	}
	public void setPurchaseOrderVersionId(Integer aPurchaseOrderVersionId) {
		purchaseOrderVersionId = aPurchaseOrderVersionId;
	}
	public Integer getPurchaseOrderId() {
		return purchaseOrderId;
	}
	public void setPurchaseOrderId(Integer aPurchaseOrderId) {
		purchaseOrderId = aPurchaseOrderId;
	}
	public Integer getTransportId() {
		return transportId;
	}
	public void setTransportId(Integer aTransportId) {
		transportId = aTransportId;
	}
	public Integer getBiWeekPeriodVersionId() {
		return biWeekPeriodVersionId;
	}
	public void setBiWeekPeriodVersionId(Integer aBiWeekPeriodVersionId) {
		biWeekPeriodVersionId = aBiWeekPeriodVersionId;
	}
	public Integer getPlantId() {
		return plantId;
	}
	public void setPlantId(Integer aPlantId) {
		plantId = aPlantId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String aCode) {
		code = aCode;
	}
	public Double getCapacity() {
		return capacity;
	}
	public void setCapacity(Double aCapacity) {
		capacity = aCapacity;
	}
	public Integer getPostFix() {
		return postFix;
	}
	public void setPostFix(Integer postFix) {
		this.postFix = postFix;
	}
	public Integer getCornTypeId() {
		return cornTypeId;
	}
	public void setCornTypeId(Integer cornTypeId) {
		this.cornTypeId = cornTypeId;
	}
	public String getPeriodDescription() {
		return periodDescription;
	}
	public void setPeriodDescription(String argPeriodDescription) {
		periodDescription = argPeriodDescription;
	}
	public Integer getCodeNumber() {
		return codeNumber;
	}
	public void setCodeNumber(Integer argCodeNumber) {
		codeNumber = argCodeNumber;
	}
	public double getAmount() {
		return amount;
	}
	public void setAmount(double argAmount) {
		amount = argAmount;
	}
	public void setBiWeekPeriodVersionDescription(
			String biWeekPeriodVersionDescription) {
		this.biWeekPeriodVersionDescription = biWeekPeriodVersionDescription;
	}
	public String getBiWeekPeriodVersionDescription() {
		return biWeekPeriodVersionDescription;
	}
	public void setBiWeekPeriodVersionYear(Integer biWeekPeriodVersionYear) {
		this.biWeekPeriodVersionYear = biWeekPeriodVersionYear;
	}
	public Integer getBiWeekPeriodVersionYear() {
		return biWeekPeriodVersionYear;
	}
	public void setPlantShortName(String plantShortName) {
		this.plantShortName = plantShortName;
	}
	public String getPlantShortName() {
		return plantShortName;
	}
	public void setBlockStartDate(String blockStartDate) {
		this.blockStartDate = blockStartDate;
	}
	public String getBlockStartDate() {
		return blockStartDate;
	}
	public void setBlockFinishDate(String blockFinishDate) {
		this.blockFinishDate = blockFinishDate;
	}
	public String getBlockFinishDate() {
		return blockFinishDate;
	}
	public void setBlockQuantity(Double blockQuantity) {
		this.blockQuantity = blockQuantity;
	}
	public Double getBlockQuantity() {
		return blockQuantity;
	}
	public void setRegionShortName(String regionShortName) {
		this.regionShortName = regionShortName;
	}
	public String getRegionShortName() {
		return regionShortName;
	}
	public void setIsTransit(int isTransit) {
		this.isTransit = isTransit;
	}
	public int getIsTransit() {
		return isTransit;
	}
	public void setFutureSort(int futureSort) {
		this.futureSort = futureSort;
	}
	public int getFutureSort() {
		return futureSort;
	}	
	
}